package com.wfg.common.msg;

import java.io.Serializable;

/**
 * @author wufagang
 * @description
 * @date 2023年05月10日 08:38
 */
public class Invocation implements Serializable {

    private String interfaceName;
    private String methodName;
    private Class[] parameterType;
    private Object[] args;

    public Invocation(String interfaceName, String methodName, Class[] parameterType, Object[] args) {
        this.interfaceName = interfaceName;
        this.methodName = methodName;
        this.parameterType = parameterType;
        this.args = args;
    }

    public String getInterfaceName() {
        return interfaceName;
    }

    public void setInterfaceName(String interfaceName) {
        this.interfaceName = interfaceName;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Class[] getParameterType() {
        return parameterType;
    }

    public void setParameterType(Class[] parameterType) {
        this.parameterType = parameterType;
    }

    public Object[] getArgs() {
        return args;
    }

    public void setArgs(Object[] args) {
        this.args = args;
    }
}
